
from PyQt5 import QtCore, QtGui, QtWidgets
from login import Ui_Login
from register import Ui_Register
import sys
import time
import login
import register
from PyQt5.QtWidgets import QWidget,QApplication

class Register(QWidget):
    def __init__(self):
        super(Register, self).__init__()
        self.ui=register.Ui_Register()
        self.ui.setupUi1(self)
        self.show()
if __name__ == "__main__":

    app = QApplication(sys.argv)
    # login1=Login()
    register1=Register()
    app.exec_()
    # Form1 = QtWidgets.QWidget()
    # register = Ui_Register()
    # register.setupUi1(Form1)
    # Form1.show()
    # time.sleep(10)
    # Form2 = QtWidgets.QWidget()
    # login = Ui_Login()
    # login.setupUi2(Form2)
    # Form1.hide()
    # Form2.show()

    sys.exit(app.exec_())